package com.app.mapper.student.management;

import com.app.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.io.InputStream;
import java.util.List;

public interface ManagementMapper {

    List<Student> getStudents(Student student);
    Student getStudentById(Integer id);
    Integer updatePassword(@Param("id") Integer id, @Param("newPassword") String newPassword);//修改密码
    Integer updateInfo(@Param("id") Integer id, @Param("name") String name, @Param("sex") Integer sex, @Param("mobilePhone") String mobilePhone);
    Grade getGrade(String studentId);
    Integer updateStudent(Student student);
    Integer addStudent(Student student);
    Integer delStudent(Integer id);
}
